package com.briup.bms.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Employee {
	private Integer id;
	private String username; //员工姓名
	private String password;//密码
	private String userId;	//登录唯一凭证
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date startDate;	//雇佣日期
	private String comments;
	private Integer managerId; //经理id
	private Integer deptId;
	private String title; 	//职称，角色
	private double salary;
	private double commissionPct; //提成率
}
